package com.base.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class LogController {
    /**
     * 测试日志等级
     *
     * @return
     */
    @RequestMapping("/loglevel")
    public String logLevel() {
        log.debug("debug log");
        log.info("info log");
        log.error("error log");
        return "success";
    }
}